{% for catalog in document.path_catalogs %}
<span class="badge badge-important">{{ catalog.name }}</span>
{% endfor %}